package org.tksj.bim.config;


import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author luyongqiang
 */
@Configuration
public class SpringDoc {

	@Bean
	public OpenAPI openapi() {
		return new OpenAPI()
				.info(new Info()
						.title("程序员API")
						.description("程序员的大本营")
						.version("v1.0.0"));

	}
}
